
    /* MAIN CARD */

    .contact-container {
      width: 100%;
      margin-top: 38px;
      position: relative;
      overflow: hidden;
      border-radius: 28px;
    }

    .Contact-main-card {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      -webkit-backdrop-filter: blur(12px);
      backdrop-filter: blur(12px);
      border-radius: 28px;
      padding: 32px;
      padding-top: 20px;
      color: white;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    }

    .Contact-main-card h1 {
      font-size: 2.3rem;
      background: linear-gradient(90deg, #38bdf8, #818cf8);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .Contact-main-card p {
      color: #cbd5e1;
      line-height: 1.7;
      margin-bottom: 5px;
    }

    /* SOCIAL ICONS */

    .socials {
      display: flex;
      justify-content: space-between;
      padding-inline: 5px;
      flex-wrap: wrap;
      margin-bottom: 15px;
    }

    .socials a {
      width: 35px;
      height: 35px;
      border-radius: 7px;
      display: flex;
      justify-content: center;
      align-items: center;
      text-decoration: none;
      color: white;
      font-size: 1.3rem;

      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.08);

      transition: 0.3s;
    }

    .socials a:hover {
      transform: translateY(-5px);
      background: #2563eb;
    }

    /* BUTTON */

    .contact-btn {
      width: 100%;
      padding: 7px;
      border: none;
      border-radius: 8px;
      background: linear-gradient(90deg, #2563eb, #7c3aed);
      color: white;
      font-size: 1rem;
      font-weight: bold;
      cursor: pointer;
    }

    /* OVERLAY CARD */

    .overlay-card {
      position: absolute;
      left: 0;
      bottom: -100%;
      width: 100%;
      height: 100%;
      background: #111827;
      border-radius: 28px;
      padding: 30px;
      transition: 0.3s ease-in-out;
      z-index: 10;
    }

    .overlay-card.active {
      bottom: 0;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .overlay-card h2 {
      font-size: 2rem;
      letter-spacing: .02em;
      margin-bottom: 5px;
      color: #38bdf8;
    }

    /* INPUTS */

    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --purple: #38bdf8;
      --skyblue: #38bdf8;
      --purple-lt: #7dd3fc;
      --purple-glow: rgba(123, 47, 190, 0.25);
      --bg: 1px solid rgba(255, 255, 255, 0.1);
      --ContactCard: #1a1f35;
      --border: #2b2b63;
      --text: white;
      --muted: #6b6b88;
      --radius: 10px;
      --shadow: 0 8px 40px rgba(123, 47, 190, .10), 0 2px 8px rgba(0, 0, 0, .06);
    }

    /* ── ContactCard ── */
    .ContactCard {
      background: var(--ContactCard);
      border-radius: 20px;
      box-shadow: var(--shadow);
      padding: 35px 30px;
      margin-top: 40px;
      width: 100%;
      animation: rise .55s cubic-bezier(.22, 1, .36, 1) both;
    }

    @keyframes rise {
      from {
        opacity: 0;
        transform: translateY(28px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ── Contact US OVERLAY DIV ── */

    /* Autofill Fix */
    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    textarea:-webkit-autofill,
    textarea:-webkit-autofill:hover,
    textarea:-webkit-autofill:focus {
      -webkit-box-shadow: 0 0 0 1000px var(--bg) inset !important;
      -webkit-text-fill-color: var(--text) !important;
      border: 1.5px solid var(--border) !important;
      transition: background-color 5000s ease-in-out 0s;
    }

    .Contactgrid {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 9px;
    }

    .full {
      grid-column: 1 / -1;
    }

    /* ── Field ── */
    .field {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    label {
      font-size: .8rem;
      font-weight: 600;
      color: var(--text);
      letter-spacing: .01em;
    }

    label .req {
      color: var(--skyblue);
      margin-left: 2px;
    }

    .input-wrap {
      position: relative;
    }

    input,
    select,
    textarea {
      width: 100%;
      background: none;
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      padding: 5px;
      font-family: 'Manrope', sans-serif;
      font-size: .9rem;
      color: var(--text);
      transition: border-color .2s, box-shadow .2s;
      outline: none;
      -webkit-appearance: none;
      appearance: none;
    }

    input::placeholder,
    textarea::placeholder {
      color: var(--muted);
      font-size: .9rem;
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: #38bdf8;
    }

    /* Textarea */
    textarea {
      resize: vertical;
      min-height: 85px;
      line-height: 1.2;
    }

    .ContactBtn {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 8px;
      width: 100%;
      padding: 10px;
      background: linear-gradient(var(--purple-lt) 0%,var(--purple) 170%);
      color: #fff;
      font-family: 'Sora', sans-serif;
      font-size: .95rem;
      font-weight: 800;
      border: none;
      border-radius: 9px;
      cursor: pointer;
      letter-spacing: .02em;
      transition: transform .18s, box-shadow .18s, filter .18s;
      box-shadow: 0 4px 20px var(--purple-glow);
    }

    .ContactBtn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 28px var(--purple-glow);
      filter: brightness(1.07);
    }

    .ContactBtn:active {
      transform: translateY(0);
      box-shadow: 0 2px 10px var(--purple-glow);
    }

    .ContactBtn svg {
      width: 18px;
      transition: transform .2s;
    }

    .ContactBtn:hover svg {
      transform: translateX(4px);
    }

    /* icons in contact me */
    .message-box,
    .name-box,
    .email-box {
      position: relative;
    }

    .name-box .icon {
      position: absolute;
      top: 34px;
      left: 7px;
      color: var(--skyblue);
    }

    .email-box .icon {
      position: absolute;
      top: 35px;
      left: 7px;
      color: var(--skyblue);
    }

    .name-box input,
    .email-box input {
      padding-left: 25px;
      padding-top: 8px;
    }

    .message-box .icon {
      position: absolute;
      top: 42px;
      left: 11px;
      color: var(--skyblue);
    }

    .message-box textarea {
      padding-left: 31px;
      padding-top: 12px;
    }

    /* ── Responsive ── */
    @media (max-width: 560px) {
      .ContactCard {
        padding: 20px 22px 28px;
        margin-top: 10px;
      }

      .Contactgrid {
        grid-template-columns: 1fr 2fr;
      }

      .full {
        grid-column: 1 / -1;
      }

    }


    /* CLOSE BUTTON */

    .close-btn {
      position: absolute;
      top: 20px;
      right: 24px;
      font-size: 1.4rem;
      cursor: pointer;
      color: #cbd5e1;
    }